<%@ page contentType="text/html; charset=UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<%@ include file="/app/include.jsp"%>
		<script type="text/javascript" src="${pageContext.request.contextPath}/common/ueditor/editor_config.js"></script>  
		<script type="text/javascript" src="${pageContext.request.contextPath}/common/ueditor/editor_all.js"></script>   
		<script type="text/javascript">
        	window.UEDITOR_HOME_URL = ctx + "/common/ueditor/";
        </script>
		<script src="<%=basePath%>/common/ueditor/ueditor.files.js"></script>
	</head>
	<body style="overflow-x:hidden;">
	<div class="cotnent">
    	<br/>
        <form id="modelForm" name="modelForm">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <th width="15%"><span class="red">*</span> 穴位/归经名称</th>
                <td><input type="text" name="mdName" id="mdName" value="${mdobj.mdName}" style="width:70%"/></td> 
              </tr>
              <tr> 
                <th width="15%"><span class="red">*</span> 类别</th>
                <td>
                <open:select valueset="[穴位归经]" id="type" name="type"/>
                 </td>
              </tr>
              <tr>
                <th>归经</th>
                <td >
                	 <input type="text" name="guijing" id="guijing" value="${mdobj.guijing}" style="width:70%"/>
                </td> 
              </tr>  
              <tr>
               <th>定位</th>
                <td>
                     <textarea name="position" id="position" rows="5" cols="70%">${mdobj.position}</textarea>  
                </td>
              </tr>
              <script type="text/javascript">
				var ue = UE.getEditor('position', {  
		            initialContent : '',//初始化编辑器的内容  
		            minFrameHeight : 100,//设置高度  
		            textarea : 'position',//设置提交时编辑器内容的名字，之前我们用的名字是默认的editorValue  
		            elementPathEnabled:false,
		            wordCount:false,
		            pasteplain:true, 
		            autoFloatEnabled:true,
		            toolbars:[['bold','italic','underline','|','forecolor','|','insertunorderedlist','insertorderedlist']]
		        });
				ue.ready(function(){
				    ue.focus();
				})
			  </script>
              <tr>
                <th>注意事项</th>
                <td>
                	<textarea name="alertinfo" id="alertinfo" rows="5" cols="77%">${mdobj.alertinfo}</textarea> 
                </td> 
              </tr>  
              <script type="text/javascript">
				var alertinfo = UE.getEditor('alertinfo', {  
		            initialContent : '',//初始化编辑器的内容  
		            minFrameHeight : 100,//设置高度  
		            textarea : 'alertinfo',//设置提交时编辑器内容的名字，之前我们用的名字是默认的editorValue  
		            elementPathEnabled:false,
		            wordCount:false,
		            pasteplain:true, 
		            autoFloatEnabled:true,
		            toolbars:[['bold','italic','underline','|','forecolor','|','insertunorderedlist','insertorderedlist']]
		        });
				alertinfo.ready(function(){
				    alertinfo.focus();
				})
			  </script>
          </table>
          </form> 
         </div> 
	</body>
</html>
		

